fix(gui): update info text with proper invalid characters
authorJyrki Gadinger <nilsding@nilsding.org>
Thu, 17 Apr 2025 16:04:46 +0000 (18:04 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 30 May 2025 07:39:56 +0000 (09:39 +0200)
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
src/gui/invalidfilenamedialog.cpp

index f26a5161abcdac7b291d52e60985e4cead02c96a..ed51d951843a505988f263aa262bd1260902c180 100644 (file)
@@ -97,7 +97,7 @@ InvalidFilenameDialog::InvalidFilenameDialog(AccountPtr account,
     switch (invalidMode) {
     case InvalidMode::SystemInvalid:
         _ui->descriptionLabel->setText(tr("The file \"%1\" could not be synced because the name contains characters which are not allowed on this system.").arg(_originalFileName));
-        _ui->explanationLabel->setText(tr("The following characters are not allowed on the system: * \" | & ? , ; : \\ / ~ < > leading/trailing spaces"));
+        _ui->explanationLabel->setText(tr("The following characters are not allowed on the system: \\ / : ? * \"  < > | leading/trailing spaces"));
         break;
     case InvalidMode::ServerInvalid:
         _ui->descriptionLabel->setText(tr("The file \"%1\" could not be synced because the name contains characters which are not allowed on the server.").arg(_originalFileName));